import request from './request.js';
import { https } from '../utils/https.js';



export function H5GetSms(phone) {
  return request({
    url: https.H5GetSms,
	data:{
		phone
	},
	method:'POST'
  })
}

export function h5Login(account,password) {
  return request({
    url: https.h5Login,
	data:{
		account,password
	},
	method:'POST'
  })
}

export function h5Reg(phone,code,password) {
  return request({
    url: https.h5reg,
	data:{
		phone,code,password
	},
	method:'POST'
  })
}

export function h5Password(phone,code,password) {
  return request({
    url: https.h5Password,
	data:{
		phone,code,password
	},
	method:'POST'
  })
}